package com.apexedu.portal.constant;

/**
 * 定义所有跳转Action名称及定义所有跳转到的jsp页面
 * Created by ly on 2014/6/28.
 */
public interface ActionConstant {
    /**
     * 变量名称简称
     */
    String Variable_Id = "id"; //id
    String Variable_User_Id = "userid"; //用户登录账号
    String Variable_Portlet_Id = "portletid"; //组件id
    String Variable_State = "state"; //状态
    String Process_Charge = "5"; //代办流程
    String Process_Initiate = "6"; //发起流程
    String Process_Participate = "7"; //参与流程
    String Process_Reply = "8"; //回复流程

    /**
     * 服务资源组件
     */
    interface Server {
        //请求url
        String RequestMapping_init = "/uc/se/i/{portletid}";//订阅服务初始化界面
        String RequestMapping_saveDy = "/uc/se/s/{menuid}/{portletid}";//用户订阅
        String RequestMapping_delDy = "/uc/se/d/{id}";//用户取消订阅
        String RequestMapping_getFwzy = "/uc/se/g/{portletid}";//获取服务资源组件
        String RequestMapping_updateDjcs = "/uc/se/ud/{menuid}"; //更新点击次数;
        String RequestMapping_getFwLb = "/uc/se/gf/{portletid}"; //获取服务组件类别;
        String RequestMapping_saveFw = "/uc/se/su/{portletid}/{fwlb}"; //保存服务组件类别;
        String RequestMapping_getMobileFw = "/uc/se/gm/{userid}"; //获取移动端显示的服务
        String RequestMapping_serverConsulting = "/uc/se/co"; //获取服务咨询界面
        String RequestMapping_serverDetail = "/uc/se/sd/{menuid}"; //获取服务详情界面
        String RequestMapping_saveServiceProblem = "/uc/se/sp"; //保存问题
        String RequestMapping_saveServiceAns = "/uc/se/sa";//保存问题回复
        String RequestMapping_saveServiceDis = "/uc/se/sd"; //保存问题评论
        String RequestMapping_deletePro = "/uc/se/dp";//删除问题
        String RequestMapping_deleteDis = "/uc/se/dd";//删除评论
        String RequestMapping_deleteAns = "/uc/se/da";//删除回复
        String RequestMapping_changestatePro = "/uc/se/cs";//启用禁用问题

        //请求参数
        String Variable_menuid = "menuid";//服务资源id
        String Variable_fwlb = "fwlb"; //服务类别

        //响应uri
        String Forward_init = "portal/server/init"; //服务资源订阅初始界面
        String Forward_init_shd = "portal/server/initShd"; //服务资源订阅初始界面(山东大学)
        String Forward_serverDetail = "portal/server/serverDetail"; //服务资源订阅初始界面(山东大学)
        String Forward_serverConsulting = "portal/server/serverConsulting"; //服务资源咨询界面(山东大学)

        String Forward_init_shmy = "portal/server/initShmy"; //服务资源订阅初始界面(上海美院)
        
        String Forward_init_sdyz = "portal/server/initSdyz"; //服务资源订阅初始界面(山东医专)
        String Forward_init_szgz = "portal/server/initSzgz"; //服务资源订阅初始界面(苏州高职)
    }

    /**
     * 列表信息组件 包括流程管理 代办信息 通知公告等
     */
    interface Lbxx {
        //请求url
        String RequestMapping_init = "/uc/lb/i";//列表信息初始化界面
        String RequestMapping_tree = "/uc/lb/t";//列表信息树结构
        String RequestMapping_getListXx = "/uc/lb/l";//获取列表信息集合
        String RequestMapping_edit = "/uc/lb/e";//列表信息编辑界面
        String RequestMapping_delete = "/uc/lb/d/{id}"; //列表信息删除功能
        String RequestMapping_saveLbxxSz = "/uc/lb/sl"; //保存列表信息设置信息（门户组件调用）

        //响应uri
        String Forward_init = "portal/lbxx/execute"; //列表信息初始化界面
        String Forward_tree = "portal/lbxx/tree"; //列表信息树结构界面
        String Forward_edit = "portal/lbxx/input"; //列表信息编辑界面
    }

    /**
     * 友情链接
     */
    interface Link {
        //请求url
        String RequestMapping_init = "/uc/lk/i";//友情链接信息初始化界面
        String RequestMapping_tree = "/uc/lk/t";//友情链接信息树结构
        String RequestMapping_getListXx = "/uc/lk/l";//获取友情链接信息集合
        String RequestMapping_edit = "/uc/lk/e";//友情链接编辑界面
        String RequestMapping_getLinks = "/lk/g"; //获取友情链接集合json字符串
        String RequestMapping_delLink = "/uc/lk/d/{id}"; //删除友情链接

        //响应uri
        String Forward_init = "portal/link/execute"; //友情链接信息初始化界面
        String Forward_tree = "portal/link/tree"; //友情链接信息树结构界面
        String Forward_edit = "portal/link/input"; //友情链接信息编辑界面
    }

    /**
     * 初始化用户权限
     */
    interface Rule {
        //请求url
        String RequestMapping_init = "/uc/r/i";//初始化用户权限
    }


    /**
     * 初始化用户权限
     */
    interface User {
        //请求url
        String RequestMapping_checkPwd = "/uc/us/cs"; //检测用户密码是否正确
        String RequestMapping_updatePwd = "/uc/us/ms";//初始化用户权限
    }

    /**
     * 修改密码
     */
    interface Pwd {
        //请求url
        String RequestMapping_init = "/uc/pwd/i";
        String RequestMapping_repwd = "/uc/pwd/u/{userPwdOld}/{userPwdNew}/{dlmmnew}";

        String Forward_init = "portal/pwd/repwd"; //友情链接信息编辑界面

        String Variable_userPwdOld = "userPwdOld"; //userPwdOld
        String Variable_userPwdNew = "userPwdNew"; //userPwdNew
        String Variable_dlmmnew = "dlmmnew"; //userPwdNew
    }

    /**
     * 移动端
     */
    interface App {
        String RequestMapping_news = "/uc/news";//通知公告和校内发文
        String RequestMapping_issuedown = "/uc/issue/{issueid}";//通知公告和校内发文
        String RequestMapping_todos = "/uc/todos";//待办
        String RequestMapping_todoNavTabId = "/uc/getTodoNavTabId";//待办tab id
        String RequestMapping_servers_init = "/uc/server/init";//服务列表
        String RequestMapping_servers_ydy = "/uc/server/ydy";//已订阅的服务
        String RequestMapping_servers_dy = "/uc/server/dy/{menuid}";//订阅
        String RequestMapping_servers_qxdy = "/uc/server/qxdy/{menuid}";//取消订阅
        String RequestMapping_function_list = "/uc/function/list";//功能列表
        String RequestMapping_contact_list = "/uc/contact/list";//通讯录

        String RequestMapping_app_login = "/uc/login";//登录跳转
        String RequestMapping_app_template = "/uc/template/{name}";//跳转到模板页面

        String RequestMapping_todo_fw = "/uc/readIssue/{fwid}";

        String RequestMapping_check_update = "/uc/checkUpdate";//app检测更新
        String RequestMapping_week_conference = "/uc/weekConference";//周会议

    }

    /**
     * 新版门户4.0
     */
    interface Mh {
        String RequestMapping_frame = "/uc/mh/f";//套用iframe界面
        String RequestMapping_uppwd = "/uc/mh/up";//修改密码界面
        String RequestMapping_upuserinfo = "/uc/mh/uu";//修改用户信息界面
        String RequestMapping_noticeDetail = "/uc/mh/no/{db}/{id}";//通知公告明细界面
        String RequestMapping_noticeDetail_nologin = "/nl/mh/no/{db}/{id}";//未登录通知公告明细界面
        String RequestMapping_list = "/uc/mh/l/{db}/{id}";//通知公告列表界面
        String RequestMapping_download = "/uc/mh/down/{id}";//通知公告附件下载
        String RequestMapping_openHeadPortrait = "/uc/mh/hp";//打开上传头像页面
        String RequestMapping_updateHeadPortrait = "/uc/mh/uhp";//上传头像
        String RequestMapping_foot = "/uc/mh/ft";//页脚信息
        String RequestMapping_pwdFind = "/uc/mh/pf";//密码找回问题
        String RequestMapping_pwdFindSave = "/uc/mh/pf/s"; //密码找回问题保存 findPwd
        String RequestMapping_findPwd = "/mh/fp/{step}"; //找回密码界面
        String RequestMapping_matchUserid = "/mh/mu"; //找回密码界面校验用户名
        String RequestMapping_matchQe = "/mh/mq"; //找回密码界面校验密保问题
        
        String RequestMapping_gotomail = "/uc/mh/gotomail";//跳转到coremail首页

        String Variable_db = "db";//数据来源数据库
        String Variable_step = "step";//找回密码步骤

        String Forward_frame = "portal/mh/frame";//套用iframe界面
        String Forward_uppwd = "portal/mh/uppwd";//修改密码界面
        String Forward_uppwdShd = "portal/shd/uppwd";//修改密码界面  山东大学
        String Forward_uppwdShmy = "portal/shmy/uppwd";//修改密码界面  上海美院
        String Forward_uppwdSdyz = "portal/sdyz/uppwd";//修改密码界面  山东医专
        String Forward_upuserinfo = "portal/mh/userinfo";//修改用户信息界面
        String Forward_noticeDetail = "portal/mh/detail";//通知公告明细界面
        String Forward_list = "portal/mh/list";//通知公告列表界面
        String Forward_headPortrait = "portal/mh/headPortrait"; //上传头像界面
        String Forward_headPortraitShd = "portal/shd/headPortrait"; //上传头像界面 山东大学
        String Forward_headPortraitShmy = "portal/shmy/headPortrait"; //上传头像界面 上海美院
        String Forward_headPortraitSdyz = "portal/sdyz/headPortrait"; //上传头像界面 山东医专
        String Forward_pwdFind = "portal/mh/pwdFind";//密码找回问题
        String Forward_userid = "portal/mh/userid";//密码找回  输入用户账号界面
    }

    /**
     * 新版门户4.0 青海
     */
    interface MhQh {
        String RequestMapping_init = "/uc/qh/i";//首页
        String RequestMapping_getWeather = "/uc/qh/w";//天气预报
        String RequestMapping_saveWeather = "/uc/qh/sw";//保存天气预报
        String RequestMapping_getZhy = "/uc/qh/zhy";//周会议
        String RequestMapping_getJskb = "/uc/qh/jskb";//教师课表
        String RequestMapping_getServer = "/uc/qh/server";//获取订阅服务
        String RequestMapping_news = "/uc/qh/n";//警院新闻界面
        String RequestMapping_notice = "/uc/qh/no";//院内通报界面
        String RequestMapping_rule = "/uc/qh/r";//规章制度界面
        String RequestMapping_depart = "/uc/qh/d";//部门动态界面

        //响应uri
        String Forward_init = "portal/qh/index"; //首页
        String Forward_news = "portal/qh/news"; //警院新闻界面
        String Forward_notice = "portal/qh/notice"; //院内通报界面
        String Forward_rule = "portal/qh/rule"; //规章制度界面
        String Forward_depart = "portal/qh/depart";//部门动态界面
    }

    /**
     * 新版门户4.0 上海工会
     */
    interface MhShgh {
        String RequestMapping_init = "/uc/shgh/i";//首页
        String RequestMapping_getWeather = "/uc/shgh/w";//天气预报
        String RequestMapping_saveWeather = "/uc/shgh/sw";//保存天气预报
        String RequestMapping_getZhy = "/uc/shgh/zhy";//周会议
        String RequestMapping_getJskb = "/uc/shgh/jskb";//教师课表
        String RequestMapping_getXskb = "/uc/shgh/xskb";//学生课表
        String RequestMapping_getServer = "/uc/shgh/server";//获取订阅服务
        String RequestMapping_xzgl = "/uc/shgh/xzgl";//教职工 行政管理
        String RequestMapping_jxgl = "/uc/shgh/jxgl";//教职工 教学管理
        String RequestMapping_xsgl = "/uc/shgh/xsgl";//教职工 学生管理
        String RequestMapping_xssh = "/uc/shgh/xssh";//学生 学生生活
        String RequestMapping_jyzn = "/uc/shgh/jyzn";//学生 就业指南
        String RequestMapping_tsst = "/uc/shgh/tsst";//学生 图书社团
        String RequestMapping_yzhy = "/uc/shgh/yzhy";//一周会议
        String RequestMapping_servers = "/uc/shgh/s/{id}";//领导站点二级界面

        //响应uri
        String Forward_init = "portal/shgh/index"; //首页
        String Forward_xzgl = "portal/shgh/xzgl";//教职工 行政管理界面
        String Forward_jxgl = "portal/shgh/jxgl";//教职工 教学管理界面
        String Forward_xsgl = "portal/shgh/xsgl";//教职工 学生管理界面
        String Forward_xssh = "portal/shgh/xssh";//学生 学生生活
        String Forward_jyzn = "portal/shgh/jyzn";//学生 就业指南
        String Forward_tsst = "portal/shgh/tsst";//学生 图书社团
        String Forward_yzhy = "portal/shgh/yzhy";//一周会议
        String Forward_servers = "portal/shgh/servers";//领导站点二级界面
    }

    /**
     * 新版门户4.0 上海工业技术学校
     */
    interface MhShgy {
        String RequestMapping_init = "/uc/shgy/i";//首页
        String RequestMapping_server = "/uc/shgy/s/{serverid}";//服务订阅界面
        String RequestMapping_workflow = "/uc/shgy/w";//流程待办导航界面
        String RequestMapping_test = "/uc/shgy/te";//跳转到考试系统

        String Variable_serverid = "serverid";//服务资源组件id

        //响应uri
        String Forward_init = "portal/shgy/index"; //首页
        String Forward_server = "portal/shgy/server"; //服务订阅界面
        String Forward_workflow = "portal/shgy/workflow"; //流程待办导航界面
    }

    /**
     * 新版门户4.0 苏州大学
     */
    interface MhSd {
        String RequestMapping_init = "/uc/sd/i";//首页
        String RequestMapping_getWeather = "/uc/sd/w";//天气预报
        String RequestMapping_saveWeather = "/uc/sd/sw";//保存天气预报
        String RequestMapping_getZhy = "/uc/sd/zhy";//周会议
        String RequestMapping_getJskb = "/uc/sd/jskb";//教师课表
        String RequestMapping_getXskb = "/uc/sd/xskb";//学生课表
        String RequestMapping_getServer = "/uc/sd/server";//获取订阅服务
        String RequestMapping_xzgl = "/uc/sd/xzgl";//教职工 行政管理
        String RequestMapping_jxgl = "/uc/sd/jxgl";//教职工 教学管理
        String RequestMapping_xsgl = "/uc/sd/xsgl";//教职工 学生管理
        String RequestMapping_xssh = "/uc/sd/xssh";//学生 学生生活
        String RequestMapping_jyzn = "/uc/sd/jyzn";//学生 就业指南
        String RequestMapping_tsst = "/uc/sd/tsst";//学生 图书社团
        String RequestMapping_yzhy = "/uc/sd/yzhy";//一周会议
        String RequestMapping_workflow = "/uc/sd/wo";//流程待办导航界面

        //响应uri
        String Forward_init = "portal/sd/index"; //首页
        String Forward_xzgl = "portal/sd/xzgl";//教职工 行政管理界面
        String Forward_jxgl = "portal/sd/jxgl";//教职工 教学管理界面
        String Forward_xsgl = "portal/sd/xsgl";//教职工 学生管理界面
        String Forward_xssh = "portal/sd/xssh";//学生 学生生活
        String Forward_jyzn = "portal/sd/jyzn";//学生 就业指南
        String Forward_tsst = "portal/sd/tsst";//学生 图书社团
        String Forward_yzhy = "portal/sd/yzhy";//一周会议
        String Forward_workflow = "portal/sd/workflow"; //流程待办导航界面
    }

    /**
     * 新版门户4.0 山东大学
     */
    interface MhShd {
        String RequestMapping_init = "/uc/shd/i";//首页i
        String RequestMapping_personal_homepage = "/uc/shd/ph";//个人主页
        String RequestMapping_getZhy = "/uc/shd/zhy";//周会议
        String RequestMapping_noticeDetail = "/uc/shd/no/{db}/{id}";//通知公告明细界面
        String RequestMapping_frame = "/uc/shd/f";//套用iframe界面
        String RequestMapping_workflow = "/uc/shd/w";//流程待办导航界面
        String RequestMapping_service_navigation= "/shd/fwdh";//首页服务导航界面
        String RequestMapping_service_details= "/shd/fwdh/details/{id}";//首页服务导航界面
        String RequestMapping_news_details= "/shd/fdnv/{location}-{wid}";//游客查看新闻明细界面
        String RequestMapping_consulting= "/shd/consulting-{wid}";//首页提问界面
        String RequestMapping_questionReply= "/uc/shd/questionReply-{wid}";//首页问题回复界面
        String RequestMapping_saveDy = "/uc/shd/se/s/{menuid}/{portletid}";//用户收藏
        String RequestMapping_Transaction_issues= "/uc/shd/issues/{type}";//事务问题
        String RequestMapping_Personal_information="/uc/shd/pi";//个人信息


        //响应uri
        String Forward_init = "portal/shd/index"; //首页
        String Forward_personal_homepage = "portal/shd/ph"; //个人首页
        String Forward_noticeDetail = "portal/shd/detail";//通知公告明细界面
        String Forward_frame = "portal/shd/frame"; //日程安排界面
        String Forward_workflow = "portal/shd/workflow"; //流程待办导航界面
        String Forward_service_navigation = "portal/shd/index_search"; //首页服务导航界面
        String Forward_service_details = "portal/shd/servicedetails"; //首页服务导航界面
        String Forward_news_details = "portal/shd/newsdetails"; //游客查看新闻明细界面
        String Forward_consulting = "portal/shd/consulting"; //首页提问界面
        String Forward_Transaction_issues = "portal/shd/issues"; //事务问题
        String Forward_questionReply = "portal/shd/questionReply"; //首页问题回复界面
        String Forward_Personal_information="portal/shd/personalInformation";//个人信息
    }

    /**
     * 新版门户4.0 上海工艺美术学院
     */
    interface MhShmy {
    	String RequestMapping_init_v1 = "/uc/shmy/i_new";//首页V1
        String RequestMapping_init_v2 = "/uc/shmy/i";//首页V2
        String RequestMapping_init =RequestMapping_init_v2;//首页
        
        String RequestMapping_getZhy = "/uc/shmy/zhy";//周会议
        String RequestMapping_noticeDetail = "/uc/shmy/no/{db}/{id}";//通知公告明细界面
        String RequestMapping_frame = "/uc/shmy/f";//套用iframe界面
        String RequestMapping_workflow = "/uc/shmy/w";//流程待办导航界面
        
        //响应uri
        String Forward_init = "portal/shmy/index"; //首页-旧
        String Forward_init_new = "portal/shmy/index_new"; //首页-新
        String Forward_noticeDetail = "portal/shmy/detail";//通知公告明细界面
        String Forward_frame = "portal/shmy/frame"; //日程安排界面
        String Forward_workflow = "portal/shmy/workflow"; //流程待办导航界面
    }

    /**
     * 新版门户 青海迎新
     */
    interface YxQh {
        String RequestMapping_init = "/uc/yxqh/i";//首页
        String RequestMapping_xgbd = "/uc/yxqh/xgbd"; //学工报道
        String RequestMapping_getUserInfo = "/yxqh/gu";//获取用户信息
        String RequestMapping_getSfxm = "/yxqh/gs"; //获取收费项目
        String RequestMapping_submit = "/yxqh/s"; //提交
        String RequestMapping_tj = "/uc/yxqh/tj"; //统计
        String RequestMapping_tjnologin = "/t"; //未登录统计
        //响应uri
        String Forward_init = "portal/yxqh/index"; //首页
        String Forward_xgbd = "portal/yxqh/xgbd"; //学工报道
        String Forward_tj = "portal/yxqh/tj"; //统计信息
    }
    
    /**
     * 新版门户4.0 山东医专
     */
    interface MhSdyz {
    	String RequestMapping_init_v1 = "/uc/sdyz/i_new";//首页V1
        String RequestMapping_init_v2 = "/uc/sdyz/i";//首页V2
        String RequestMapping_init =RequestMapping_init_v2;//首页
        
        String RequestMapping_gotoMail ="/uc/sdyz/gotoMail";//跳转到邮箱
        String RequestMapping_ajax_yktls ="/uc/sdyz/yktls/{userId}";//一卡通流水
        
        String RequestMapping_getZhy = "/uc/sdyz/zhy";//周会议
        String RequestMapping_noticeDetail = "/uc/sdyz/no/{db}/{id}";//通知公告明细界面
        String RequestMapping_frame = "/uc/sdyz/f";//套用iframe界面
        String RequestMapping_workflow = "/uc/sdyz/w";//流程待办导航界面
        
        //响应uri
        String Forward_init = "portal/sdyz/index"; //首页-旧
        String Forward_init_new = "portal/szgz/index_new"; //首页-新
        String Forward_noticeDetail = "portal/sdyz/detail";//通知公告明细界面
        String Forward_frame = "portal/sdyz/frame"; //日程安排界面
        String Forward_workflow = "portal/sdyz/workflow"; //流程待办导航界面
        
        //url参数
        String userId = "userId";
    }
    interface SzGz{
        String Menu_tree = "/szgz/menu/tree";//资源菜单
        String NavLink_list = "/szgz/navLink/list";

        String RequestMapping_init_v1 = "/uc/szgz/i_new";//首页V1
        String RequestMapping_init_v2 = "/uc/szgz/i";//首页V2
        String RequestMapping_init =RequestMapping_init_v2;//首页

        String RequestMapping_gotoMail ="/uc/szgz/gotoMail";//跳转到邮箱
        String RequestMapping_ajax_yktls ="/uc/szgz/yktls/{userId}";//一卡通流水

        String RequestMapping_getZhy = "/uc/szgz/zhy";//周会议
        String RequestMapping_noticeDetail = "/uc/szgz/no/{db}/{id}";//通知公告明细界面
        String RequestMapping_frame = "/uc/szgz/f";//套用iframe界面
        String RequestMapping_workflow = "/uc/szgz/w";//流程待办导航界面

        String RequestMapping_pk = "/uc/szgz/pk";//个人排课界面

        //响应uri
        String Forward_init = "portal/sdyz/index"; //首页-旧
        String Forward_init_new = "portal/szgz/index_new"; //首页-新
        String Forward_noticeDetail = "portal/sdyz/detail";//通知公告明细界面
        String Forward_frame = "portal/sdyz/frame"; //日程安排界面
        String Forward_workflow = "portal/sdyz/workflow"; //流程待办导航界面
        String Forward_pk = "portal/szgz/pkkb"; //个人排课界面

        //url参数
        String userId = "userId";

        String DATA_SOURCE_BASE = "base";//基础数据库名称
        String DATA_SOURCE_JX = "SGZJX";//教学数据库名称
        String USER_PK_DATA = "/szgz/user/pk";//教学数据库名称

    }
}
